<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]) . "/SmartTuition/SmartTuition.Model"; 
// including base class, EntityWithID
require_once("$root/Models/Base/EntityWithID.php");

class Subject extends EntityWithID
{
    private $shortName;
    private $fullName;

    function __construct( $id, $sName, $fName) {
        parent::__construct($id);
        $this->shortName = $sName;
        $this->fullName = $fName;
        $this->columns ="ShortName, FullName";
    }

    public  function getShortName() {
        return $this->shortName;
    }

    public function getFullName(){
        return $this->fullName;
    }

    public function getValues() {
        $str = "'" .  $this->shortName .  "','" . $this->fullName . "'";
        return $str;
    }
}